package com.zc.controller.zgq;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ZgqServiceImpl implements ZgqService{
    @Autowired
    ZgqDao zgqDao;

    @Override
    public void addstudent(Student student) {
        zgqDao.addstudent(student);
    }

    @Override
    public void deletestudent(Student student) {
        zgqDao.deletestudent(student);
    }

    @Override
    public void updatestudent(Student student) {
        zgqDao.updatestudent(student);
    }

    @Override
    public List<Map> query() {
        return zgqDao.query();
    }


}
